package com.ysactive.config;
/**
 * <p>
 *
 * @Description: TODO
 * </p>
 * @ClassName BusinessException
 * @Author pl
 * @Date 2020/9/20
 * @Version V1.0.0
 */
public class BusinessException extends RuntimeException {

    private static final long serialVersionUID = 4868842805385777275L;

    private ErrorCodeEnume errorCodeEnume;

    public BusinessException(ErrorCodeEnume errorCodeEnume) {
        this.errorCodeEnume = errorCodeEnume;
    }


    public ErrorCodeEnume getErrorCodeEnume() {
        return errorCodeEnume;
    }

    public void setErrorCodeEnume(ErrorCodeEnume errorCodeEnume) {
        this.errorCodeEnume = errorCodeEnume;
    }
}